package db;

import java.sql.SQLException;
import java.util.ArrayList;

import model.Outsider;

public interface IFSupplier
{
	public Outsider searchSupplierByName(String name) throws SQLException;
	public Outsider searchSupplierID(int outsiderID) throws SQLException;;

	public ArrayList<Outsider> searchSupplierEverything(boolean active, String search) throws SQLException;
	public ArrayList<Outsider> searchSupplierName(boolean active, String search) throws SQLException;
	public ArrayList<Outsider> searchSupplierEmail(boolean active, String search) throws SQLException;
	public ArrayList<Outsider> searchSupplierPhoneNo(boolean active, String search) throws SQLException;
	public ArrayList<Outsider> searchSupplierCity(boolean active, String search) throws SQLException;
	public ArrayList<Outsider> searchSupplierCountry(boolean active, String search) throws SQLException;
	public ArrayList<Outsider> printAllSuppliers(int itemID) throws SQLException;
}